package com.itfreer.power.dictionary;

import java.util.ArrayList;
import java.util.List;

import com.itfreer.form.dictionary.LocalDictionaryBase;
import com.itfreer.form.dictionary.base.DictionaryItem;

/**
 * 系统授权类型
 * @author 82650
 *
 */
public class AuthorizationType extends LocalDictionaryBase{

	@Override
	public String getDictionaryName() {
		return "p_authorization_type";
	}

	@Override
	protected List<DictionaryItem> getDictionarys() {
		
		List<DictionaryItem> list = new ArrayList<DictionaryItem>();
		DictionaryItem item = new DictionaryItem();
		item.setId("1");
		item.setCode("1");
		item.setDisplay("授权");
		item.setOrder(1);
		item.setInfo("授权");
		list.add(item);
		
		item = new DictionaryItem();
		item.setId("2");
		item.setCode("2");
		item.setDisplay("取消授权");
		item.setOrder(2);
		item.setInfo("取消授权");
		list.add(item);
		
		return list;
	}

}
